package com.bei_en.teacher.admin.model.questions.condition;

import java.util.*;

import com.bei_en.teacher.admin.model.BaseCondition;

import javax.validation.constraints.*;

import org.hibernate.validator.constraints.*;

import java.math.BigDecimal;

/**
 * 用于list页面的查询条件
 * 
 * @author Guocg
 * @date 2016-11-29 19:28:58
 */
public class QuestionsCondition extends BaseCondition {

    private Date createTime1;   //生成时间起
    private Date createTime2;   //止
private String queryWhere;
	
public String getQueryWhere() {
	return queryWhere;
}

public void setQueryWhere(String queryWhere) {
	this.queryWhere = queryWhere;
}
private String yearLike;
private String  idLike;
private Integer isEncode;
//    private Boolean isDel = false;
	private Integer id;  // 
	private String title;  //   标题
	private Integer type;  // 1是单选题2是判断题3是多选题4是名称解析5简答题
	private Integer questionsTypeId;  // 题类型id
	private Integer type2;  // 1题2 真题
	private String year;  //   来源
	private String answer;  // 答案
	private String answers;  //   简答题的答案
	private String image2;  // 显示公式
	private String image;  // 图片
	private String analysis;  // 解析
	private Double fraction;  // 分数
	private String content;  // 题内容
	private Integer makeTime;  // 做的时间
	private Integer yesNum;  //  做对总人数
	private Integer errorNum;  //  做错总人数
	private Integer makeNum;  //   做的总人数
	private Integer weight;  // 权重  越大越排前面
	private Integer createTime;  // 
	private Integer  chapterId;
	private Integer  sectionId;
	private Integer spotId;
	private Integer subjectId;
	private Integer educationId;
	


	public Integer getEducationId() {
		return educationId;
	}

	public void setEducationId(Integer educationId) {
		this.educationId = educationId;
	}

	public Integer getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}

	public Integer getIsEncode() {
		return isEncode;
	}

	public void setIsEncode(Integer isEncode) {
		this.isEncode = isEncode;
	}

	public String getYearLike() {
		return yearLike;
	}

	public void setYearLike(String yearLike) {
		this.yearLike = yearLike;
	}

	public String getIdLike() {
		return idLike;
	}

	public void setIdLike(String idLike) {
		this.idLike = idLike;
	}

	public Integer getChapterId() {
		return chapterId;
	}

	public void setChapterId(Integer chapterId) {
		this.chapterId = chapterId;
	}

	public Integer getSectionId() {
		return sectionId;
	}

	public void setSectionId(Integer sectionId) {
		this.sectionId = sectionId;
	}

	public Integer getSpotId() {
		return spotId;
	}

	public void setSpotId(Integer spotId) {
		this.spotId = spotId;
	}

	public void setId(Integer value) {
		this.id = value;
	}
	
	public Integer getId() {
		return this.id;
	}
	public void setTitle(String value) {
		this.title = value;
	}
	
	public String getTitle() {
		return this.title;
	}
	public void setType(Integer value) {
		this.type = value;
	}
	
	public Integer getType() {
		return this.type;
	}
	public void setQuestionsTypeId(Integer value) {
		this.questionsTypeId = value;
	}
	
	public Integer getQuestionsTypeId() {
		return this.questionsTypeId;
	}
	public void setType2(Integer value) {
		this.type2 = value;
	}
	
	public Integer getType2() {
		return this.type2;
	}
	public void setYear(String value) {
		this.year = value;
	}
	
	public String getYear() {
		return this.year;
	}
	public void setAnswer(String value) {
		this.answer = value;
	}
	
	public String getAnswer() {
		return this.answer;
	}
	public void setAnswers(String value) {
		this.answers = value;
	}
	
	public String getAnswers() {
		return this.answers;
	}
	public void setImage2(String value) {
		this.image2 = value;
	}
	
	public String getImage2() {
		return this.image2;
	}
	public void setImage(String value) {
		this.image = value;
	}
	
	public String getImage() {
		return this.image;
	}
	public void setAnalysis(String value) {
		this.analysis = value;
	}
	
	public String getAnalysis() {
		return this.analysis;
	}
	public void setFraction(Double value) {
		this.fraction = value;
	}
	
	public Double getFraction() {
		return this.fraction;
	}
	public void setContent(String value) {
		this.content = value;
	}
	
	public String getContent() {
		return this.content;
	}
	public void setMakeTime(Integer value) {
		this.makeTime = value;
	}
	
	public Integer getMakeTime() {
		return this.makeTime;
	}
	public void setYesNum(Integer value) {
		this.yesNum = value;
	}
	
	public Integer getYesNum() {
		return this.yesNum;
	}
	public void setErrorNum(Integer value) {
		this.errorNum = value;
	}
	
	public Integer getErrorNum() {
		return this.errorNum;
	}
	public void setMakeNum(Integer value) {
		this.makeNum = value;
	}
	
	public Integer getMakeNum() {
		return this.makeNum;
	}
	public void setWeight(Integer value) {
		this.weight = value;
	}
	
	public Integer getWeight() {
		return this.weight;
	}
	public void setCreateTime(Integer value) {
		this.createTime = value;
	}
	
	public Integer getCreateTime() {
		return this.createTime;
	}
	



    public Date getCreateTime1() {

	return createTime1;
    }

    public void setCreateTime1(Date createTime1) {

	this.createTime1 = createTime1;
    }

    public Date getCreateTime2() {

	return createTime2;
    }

    public void setCreateTime2(Date createTime2) {

	this.createTime2 = createTime2;
    }

//    public Boolean getIsDel() {
//
//	return isDel;
//    }
//
//    public void setIsDel(Boolean isDel) {
//
//	this.isDel = isDel;
//    }


}